﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true"
    CodeFile="ViewEstate.aspx.cs" Inherits="ViewEstate" %>

<%@ Import Namespace="System.Collections.Generic" %>
<%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="Server">
    <ext:Panel ID="mainPanel2" runat="server" Height="600" PaddingSummary="5px 5px 0"
        Width="790px" Layout="card" ActiveIndex="0" DefaultBorder="false">
        <TopBar>
            <ext:Toolbar runat="server">
                <Items>
                    <ext:TabStrip runat="server" ActionContainerID="Panel2">
                        <Items>
                            <ext:TabStripItem runat="server" Title="Details" />
                            <ext:TabStripItem runat="server" Title="Contact" />
                        </Items>
                    </ext:TabStrip>
                </Items>
            </ext:Toolbar>
        </TopBar>
        <Items>
            <ext:Panel runat="server" Header="false">
                <Items>
                    <ext:TableLayout ID="TableLayout1" runat="server" Columns="2">
                        <Cells>
                            <ext:Cell RowSpan="1">
                                <ext:Panel ID="Panel1" runat="server" Title="Image" Padding="15">
                                    <Items>
                                        <ext:Image runat="server" Width="320" Height="320" ImageUrl="http://static.dezeen.com/uploads/2009/03/fujimori-yakisugi-house-charcoal-house-7.jpg">
                                        </ext:Image>
                                    </Items>
                                </ext:Panel>
                            </ext:Cell>
                            <ext:Cell RowSpan="1">
                                <ext:Panel ID="Panel2" runat="server" Title="Info" Width="300" Padding="15" Html="<font face='verdana' size='2'>Nutty From Rooftop<br/>Condition: For Sale<br/>Room: 5+1<br>Price: 25000$<br>Type: Home<br>City: Mersin<br>Town: Yenisehir<br>m2: 225<br>Announcement Date: 09.12.2011</font>">	
                                </ext:Panel>
                            </ext:Cell>
                            <ext:Cell ColSpan="2">
                                <ext:Panel ID="Panel3" runat="server" Title="Explanation" Padding="15" Html="Explanation.Explanation.Explanation.Explanation.Explanation.Explanation.Explanation.Explanation.Explanation.<br>Explanation.Explanation.Explanation.Explanation.Explanation.Explanation.Explanation.Explanation." />
                            </ext:Cell>
                        </Cells>
                    </ext:TableLayout>
                </Items>
            </ext:Panel>
            <ext:Panel 
                        ID="Tab4" 
                        runat="server" 
                        Title="Event Tab" 
                        Html="I am tab 3's content. I also have an event listener attached."
                        Padding="6" 
                        AutoScroll="true">
                        <Listeners>
                            <Activate Handler="Ext.Msg.alert('Event', this.title + ' was activated.');" />
                        </Listeners>
                    </ext:Panel>
        </Items>
    </ext:Panel>
</asp:Content>
